<?php

/**
 * 分集
 */
Route::get('entity/asset/video/vserialis', ['as'=> 'entity.asset.video.vserialis.index', 'uses' => 'Entity\Asset\Video\VserialiController@index']);
Route::post('entity/asset/video/vserialis', ['as'=> 'entity.asset.video.vserialis.store', 'uses' => 'Entity\Asset\Video\VserialiController@store']);
Route::get('entity/asset/video/vserialis/create', ['as'=> 'entity.asset.video.vserialis.create', 'uses' => 'Entity\Asset\Video\VserialiController@create']);
Route::put('entity/asset/video/vserialis/{vserialis}', ['as'=> 'entity.asset.video.vserialis.update', 'uses' => 'Entity\Asset\Video\VserialiController@update']);
Route::patch('entity/asset/video/vserialis/{vserialis}', ['as'=> 'entity.asset.video.vserialis.update', 'uses' => 'Entity\Asset\Video\VserialiController@update']);
Route::delete('entity/asset/video/vserialis/{vserialis}', ['as'=> 'entity.asset.video.vserialis.destroy', 'uses' => 'Entity\Asset\Video\VserialiController@destroy']);
Route::get('entity/asset/video/vserialis/{vserialis}', ['as'=> 'entity.asset.video.vserialis.show', 'uses' => 'Entity\Asset\Video\VserialiController@show']);
Route::get('entity/asset/video/vserialis/{vserialis}/edit', ['as'=> 'entity.asset.video.vserialis.edit', 'uses' => 'Entity\Asset\Video\VserialiController@edit']);


// 分集详情
Route::get('entity/asset/video/vserialis/vseriali_details/{vseriali_id}', ['as'=> 'entity.asset.video.vserialis.vseriali_details', 'uses' => 'Entity\Asset\Video\VserialiController@vserialiDetails']);

/**
 * 分集上线, 下线, 发布
 */
// 分集全部上线
Route::get('entity/asset/video/vserialis/vseriali_details/all_up/view', [
    'as'=> 'entity.asset.video.vserialis.all_up', 
    'uses' => 'Entity\Asset\Video\VserialiController@allUp'
]);
// 分集全部下线
Route::get('entity/asset/video/vserialis/vseriali_details/all_down/view', [
    'as'=> 'entity.asset.video.vserialis.all_down', 
    'uses' => 'Entity\Asset\Video\VserialiController@allDown'
]);
// 分集上线发布
Route::get('entity/asset/video/vserialis/vseriali_details/publish/view', [
    'as'=> 'entity.asset.video.vserialis.publish', 
    'uses' => 'Entity\Asset\Video\VserialiController@publish'
]);
// 分集单个,批量上线发布
Route::post('entity/asset/video/vserialis/vseriali_details/publish_one/view', [
    'as'=> 'entity.asset.video.vserialis.publish_one', 
    'uses' => 'Entity\Asset\Video\VserialiController@batchModerate'
]);
// 分集单个,批量下线发布
Route::post('entity/asset/video/vserialis/vseriali_details/publish_down_one/view', [
    'as'=> 'entity.asset.video.vserialis.publish_down_one', 
    'uses' => 'Entity\Asset\Video\VserialiController@batchModerate'
]);
// 分集下线发布
Route::get('entity/asset/video/vserialis/vseriali_details/publish_down/view', [
    'as'=> 'entity.asset.video.vserialis.publish_down', 
    'uses' => 'Entity\Asset\Video\VserialiController@publishDown'
]);
// 上线
Route::post('entity/asset/video/vserialis/vseriali_details/up/view', [
    'as'=> 'entity.asset.video.vserialis.up', 
    'uses' => 'Entity\Asset\Video\VserialiController@batchModerate'
]);
// 下线
Route::post('entity/asset/video/vserialis/vseriali_details/down/view', [
    'as'=> 'entity.asset.video.vserialis.down', 
    'uses' => 'Entity\Asset\Video\VserialiController@batchModerate'
]);
// 查询进度
Route::get('entity/asset/video/vserialis/vseriali_details/progress/view', [
    'as'=> 'entity.asset.video.vserialis.progress', 
    'uses' => 'Entity\Asset\Video\VserialiController@queryProgress'
]);

/**
 * 剧集添加、编辑、删除分集信息
 */
// 列表
Route::get('entity/asset/video/vserialis/vasseti/{vasseti_id}', ['as'=> 'entity.asset.video.vserialis.vasseti.index', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiIndex']);
// 保存
Route::post('entity/asset/video/vserialis/vasseti/{vasseti_id}', ['as'=> 'entity.asset.video.vserialis.vasseti.store', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiStore']);
// 新增视图
Route::get('entity/asset/video/vserialis/vasseti/{vasseti_id}/create', ['as'=> 'entity.asset.video.vserialis.vasseti.create', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiCreate']);
// 更新
Route::put('entity/asset/video/vserialis/vasseti/{vasseti_id}/{vserialis}', ['as'=> 'entity.asset.video.vserialis.vasseti.update', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiUpdate']);
Route::patch('entity/asset/video/vserialis/vasseti/{vasseti_id}/{vserialis}', ['as'=> 'entity.asset.video.vserialis.vasseti.update', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiUpdate']);
// 删除
Route::delete('entity/asset/video/vserialis/vasseti/{vasseti_id}/{vserialis}', ['as'=> 'entity.asset.video.vserialis.vasseti.destroy', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiDestroy']);
// 编辑视图
Route::get('entity/asset/video/vserialis/vasseti/{vasseti_id}/{vserialis}/edit', ['as'=> 'entity.asset.video.vserialis.vasseti.edit', 'uses' => 'Entity\Asset\Video\VserialiController@vassetiEdit']);

